<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/


$route['do-vui']                            = 'relax/catetory';
$route['do-vui/chi-tiet/(:any)']            = 'relax/detail/$1';
$route['truyen-cam-cuoi']                   = 'relax/catetory';
$route['truyen-cam-cuoi/chi-tiet/(:any)']   = 'relax/detail/$1';
$route['anh-vui']                 = 'relax/catetory';
$route['anh-vui/chi-tiet/(:any)'] = 'relax/detail/$1';
$route['kiwi-te-ghe']                 = 'relax/catetory';
$route['kiwi-te-ghe/chi-tiet/(:any)'] = 'relax/detail/$1';
$route['truyen-tranh-cu-let']                 = 'relax/catetory';
$route['truyen-tranh-cu-let/chi-tiet/(:any)'] = 'relax/detail/$1';
$route['cau-hoi-ngo-ngan']                 = 'relax/catetory';
$route['cau-hoi-ngo-ngan/chi-tiet/(:any)'] = 'relax/detail/$1';
$route['tho-lang-xet']                 = 'relax/catetory';
$route['tho-lang-xet/chi-tiet/(:any)'] = 'relax/detail/$1';


$route['anh-van/chuyende']        = 'skills/englishkill';
$route['anh-van/chuyende/(:num)'] = 'skills/englishkill/$1';

$route['ky-nang-mem/chuyende/chitiet/(:any)'] = 'skills/detail/$1';
$route['anh-van/chuyende/chitiet/(:any)'] = 'skills/detail/$1';

$route['ky-nang-mem/chuyende']        = 'skills/softskill';
$route['ky-nang-mem/chuyende/(:num)'] = 'skills/softskill/$1';

$route['ky-nang-mem/video/chitiet/(:any)'] = 'skills/video_detail/$1';
$route['anh-van/video/chitiet/(:any)'] = 'skills/video_detail/$1';

$route['chuyende/chitiet/(:any)'] = 'skills/topskill/$1';


$route['default_controller'] = "relax";
$route['404_override'] = '';


/* End of file routes.php */
/* Location: ./application/config/routes.php */